package com.hmdp.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("patient")
public class patient {

    @TableId(value = "patient_id", type = IdType.AUTO)
    private Long patientId;

    private String name;

    private Long phone;

    private String password;

    private String publickey;

    private String privatekey;

    private int type;
}
